package com.ruoyi.project.cms.knowledgemanagement.service;

import com.ruoyi.project.cms.knowledgemanagement.domain.KnowledgeBenchmarking;

import java.util.List;

public interface IKnowledgeBenchmarkingService {
    //按照id查询单个
    KnowledgeBenchmarking selectOneByID(Long project_id);

    /*
    * 查按照名字模糊查询 没有名字查询全部
    * */
    List<KnowledgeBenchmarking> findByName(KnowledgeBenchmarking knowledgeBenchmarking);

    /*
    * 按照ID删除一个项目
    * */
    int removeOneByID(Long project_id);
    /*
    * 批量删除项目
    * */
    int deleteByIds(Long[] ids);

    /*
    * 修改是否为标杆文件
    * */
    int changeProjectStatus(KnowledgeBenchmarking knowledgeBenchmarking);

    /*添加项目*/
    int insertProject(KnowledgeBenchmarking knowledgeBenchmarking);

    /*
    * 修改项目
    * */
    int updateProject(KnowledgeBenchmarking knowledgeBenchmarking);
}
